home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / atech.xml < prev    next >
Text File  |  2002-09-06  |  3KB  |  80 lines

  1. <search function="atech">
  2.   <name>AnandTech</name>
  3.   <description>
  4.     Hardware analysis and news. Search for articles or for user posts on the forums. Searches for articles by default.<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.       <table class="helpboxDescTable">
  7.           <tr><td>/subject</td><td> - </td><td>Search forums by subject.</td></tr>
  8.           <tr><td>/author</td><td> - </td><td>Search forums by author.</td></tr>
  9.       </table>
  10.     <div class="helpboxDescLabels">Examples:</div>
  11.     <table class="helpboxDescTable">
  12.           <tr><td>atech cpu</td></tr>
  13.           <tr><td>atech motherboard /subject</td></tr>
  14.       </table>
  15.   </description>
  16.   <category>Computers</category>
  17.   <link>http://www.anandtech.com/</link>
  18.   <contributor>Ryan Edwards</contributor>
  19.   
  20.   <form name="atechf"
  21.         action="http://www.anandtech.com/searchresults.html"
  22.         method="post">
  23.     <input type="hidden" name="keyword"/>
  24.     <input type="hidden" name="quicksearch" value=""/>
  25.     <input type="hidden" name="Engine" value="AnandTech"/>
  26.   </form>
  27.   
  28.   <form name="atechforums"
  29.         action="http://forums.anandtech.com/searchresults.cfm?requesttimeout=500"
  30.         method="post">
  31.     <input type="hidden" name="FTVAR_KEYWORD1FRM"/>
  32.     <input type="hidden" name="FTVAR_KEYWORD2FRM"/>
  33.     <input type="hidden" name="FTVAR_OPERATORFRM"/>
  34.     <input type="hidden" name="FTVAR_SEARCHWHATFRM" value="t"/>
  35.     <input type="hidden" name="FTVAR_AUTHORFRM"/>
  36.     <input type="hidden" name="FTVAR_TABLECHOICEFRM" value="current"/>
  37.     <input type="hidden" name="FTVAR_DATESELFRM" value="50"/>
  38.     <input type="hidden" name="FTVAR_STARTDATEFRM" value=""/>
  39.     <input type="hidden" name="FTVAR_ENDDATEFRM" value=""/>
  40.     <input type="hidden" name="FTVAR_CATEGORYIDFRM" value="44,46,37,28,39,45,42,27,50,40,29,36,38,34,30,33,32,31"/>
  41.   </form>
  42.   
  43.   <script><![CDATA[
  44.     function atech(q)
  45.     {
  46.       var args = parseArgs(q, "subject, author");
  47.       
  48.       if( nullArgs("atech", q) )
  49.         return false;
  50.       else if( args.switches.length == 1 )
  51.       {
  52.         switch( args.switches[0].name )
  53.         { 
  54.           case "subject":
  55.             document.atechforums.FTVAR_KEYWORD1FRM.value = args.q;
  56.             document.atechforums.FTVAR_AUTHORFRM.value = "";
  57.             break;
  58.           case "author":
  59.             document.atechforums.FTVAR_KEYWORD1FRM.value = "";
  60.             document.atechforums.FTVAR_AUTHORFRM.value = args.q;
  61.             break;
  62.         }
  63.         submitForm(atechforums);
  64.       }
  65.       else if( args.switches.length > 1 )
  66.         nullArgs("atech","?");
  67.       else
  68.       {
  69.         document.atechf.keyword.value = args.q;
  70.         submitForm(atechf);
  71.       }
  72.     }
  73.   ]]></script>
  74.  
  75.   <copyright>
  76.     Copyright (c) 2002 David Bau
  77.     Distributed under the terms of the
  78.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  79.   </copyright>
  80. </search>